<?php
class Silk_Tms_Block_Adminhtml_Region_Edit extends Mage_Adminhtml_Block_Widget{
	private $_region = null;

	public function __construct()
	{
		parent::__construct();
		$this->setTemplate('tms/region/edit.phtml');
	}
	public function getregion(){
		if($this->_region) return $this->_region;

		$this->_region = Mage::getModel('tms/region')->load($this->getRequest()->getParam('id'));

		if(!$this->_region || !$this->_region->getId())
		{
		    throw new Exception("区域不存在！");
		}
		return $this->_region;
	}

}